const { SchameTypes } = require('mongoose');

module.exports = class extends think.Mongoose {
  get schema() {
    return {
      name: { type: String },//debug < info < warn < Error < Fatal
      method: { type: String },
      data: {}
    }
  }
}

// const loglist = this.mongoose('mongoose/loglist');
// await new loglist({
//   name:'测试',
//   result:{a:11,b:22,c:33}
// }).save()